package com.ajun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Order 消息冗余表
 *
 * @author LiJun
 * @date 2021-07-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("order_message")
public class OrderMessage implements Serializable {

    private static final long serialVersionUID = -4712060796920856785L;

    @TableId(type = IdType.INPUT)
    private Integer orderId;
    /**
     * 0: 待确认; 1:发送成功; -1:发送失败
     */
    private Byte status;
    private String orderContent;
    private Integer uniqueId;
}
